<?php

namespace App\Services;
use Illuminate\Http\Request;
use App\Pojo\ResponsePojo;

use Illuminate\Database\Eloquent\Casts\Json;
interface ZhjyServiceInterface{
    public function register(array $data);
    public function uploadFile($currentHeader, $file);
    public function login(Request $request, array $data);
    public function logout(Request $request);
    public function findZhjyStatus();
    public function getZhjyToken();
    public function refreshToken();
    public function getDawnLogs($queryDate); // 获取打卡记录
    public function uploadZhjyFileUrl(Request $request); // 获取打卡记录
    public function uploadLocalFileUrl(Request $request); // 获取打卡记录
    public function saveZhjyClock($credentials); // 打卡
    public function saveZhjyLog($credentials); // 上传日志
    public function getLogRows($credentials); // 获取日志记录

}